import PermissionMixin from "../../PermissionMixin"

export default {
  mixins: [PermissionMixin],
  data() {
    return {
      date: new Date(),
      options: {
        disabledDate(time) {
          return time.getTime() > Date.now()
        }
      },
      tableData: [],
      tableTop: {},
      columns: [
        {
          title: "日期",
          key: "date",
          align: "center"
        },
        {
          title: "本次示数",
          key: "currValue",
          align: "center"
        },
        {
          title: "上次示数",
          key: "lastValue",
          align: "center"
        },
        {
          title: "电量",
          align: "center",
          key: "useValue"
        }
      ],
      deviceList: []
    }
  }
}
